go/types.Chan.Dir (method)
12 uses
go/types (current package)
chan.go#L29: func (c *Chan) Dir() ChanDir { return c.dir }
golang.org/x/exp/apidiff
compatibility.go#L49: if old.Dir() != new.Dir() {
compatibility.go#L50: if new.Dir() == types.SendRecv {
correspondence.go#L52: return d.corr(old.Elem(), new.Elem(), p) && old.Dir() == new.Dir()
golang.org/x/tools/internal/gcimporter
bexport.go#L379: p.int(int(3 - t.Dir())) // hack
iexport.go#L749: switch t.Dir() {
golang.org/x/tools/internal/typeparams
coretype.go#L55: if ch.Dir() == types.SendRecv {
coretype.go#L58: } else if curr.Dir() != types.SendRecv && ch.Dir() != curr.Dir() {
The pages are generated with Golds v0.4.9. (GOOS=linux GOARCH=amd64)